package io.renren.modules.medical.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import javax.validation.constraints.Null;

/**
 * 
 * 
 * @author luosheng
 * @email luoshengshuai@foxmail.com
 * @date 2023-04-13 15:54:58
 */
@Data
@TableName("education_content")
public class EducationContentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 医生id
	 */
	private Long doctorId;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 逻辑删除
	 */
	@Null(message = "不用指定是否删除")
	@JsonIgnore
	@TableLogic
	@TableField("is_deleted")
	private Integer isDeleted;

}
